package com.drops.exp.util;

import cn.hutool.http.HttpResponse;
import com.drops.exp.JolokiaRealmRCEEXP;
import com.drops.utils.HTTPUtils;
import com.drops.utils.ResponseUtil;

/**
 * @ClassName: VersionUtil
 * @Description: TODO
 * @Author: Summer
 * @Date: 2021/8/9 15:53
 * @Version: v1.0.0
 * @Description:
 **/
public class VersionUtil {


    public static boolean isVersion(String target){
        if (HTTPUtils.getRequest(target,"env").isOk()){
            return true;
        }
        return false;
    }

//    public static void main(String[] args) {
//        String url = "";
//        JolokiaRealmRCEEXP exp = new JolokiaRealmRCEEXP();
//        exp.hasJolokiaRealmRCE()
//    }

}
